/******************************************************************************
COPYRIGHT (C) 2013 by IT-Designers GmbH

File:		BEViewer.h
Created:	25.02.2013
Modified:	27.02.2013
Author:		Max Pejs
******************************************************************************/

#ifndef BEVIEWER_H
#define BEVIEWER_H

#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"

#include <iostream>

using namespace cv;
using namespace std;

class BEViewer
{
private:
	
	/// /brief	Homography matrix for image transformation from perspective to bird-eye-view
	Mat Homography;

public:
	
	BEViewer(string & filename, string & matrixIndex);
	BEViewer(Mat H);
	~BEViewer();

	void Transform(Mat & srcImage, Mat & dstImage);
	Mat GetHomography(void);
	Mat BEViewer::GetInvHomography(void);
};

#endif	// BEVIEWER_H